package com.tx.logsys.controller;

import com.tx.logsys.mapper.db02.DB02Mapper;
import com.tx.logsys.mapper.primary.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/")
public class TestControl {

    @Autowired
    UserMapper userMapper;

    @Autowired
    DB02Mapper DB02Mapper;

    @RequestMapping
    public String index(){

//        EventLogListener.getLog();
//        String res = EventLogListener.getLog(0);

//        User user = userMapper.selectByPrimaryKey(1);
//        User user1 = backUserMapper.selectByPrimaryKey(1);

        return "OK";
    }

}
